<div *ngIf="load&&trainlistshow.length>0">
    <div class="item1-box item-box" #item1>
        <div class="item1 item boxhover" *ngFor="let item1 of trainlistshow;let i= index" [style.margin-right]="(i+1)%4==0?'0':'15px'">
            <div class="item-left">
                <!-- <img src="http://canvas.arktao.com/images/{{item1.SmallImgurl}}" alt=""> -->
                <!-- <img src="./assets/img/liuxiang.png" alt=""> -->
                <!-- <img src="./assets/img/tounao.png" alt=""> -->
                <!-- <img src="./assets/img/shangye.png" alt=""> -->
                <!-- <img src="./assets/img/maodun.png" alt=""> -->
                <!-- <img src="./assets/img/jiazhi.png" alt=""> -->
                <!-- <img src="./assets/img/shu.png" alt=""> -->
                <img src="./assets/img/{{img}}" alt="">
            </div>
            <div class="item-right">
                <div>

                    <div class="item-title">{{item1.Title}}</div>
                    <div class="item-time">{{item1.CreateTime}}</div>
                </div>
                <div class="canvasnum-box" [style.display]="!edit?'flex':'none'">
                    <img class="canvasnum" src="./assets/img/canvasgroupnum.png" alt="">
                    <span class="lg">已创建 {{item1.Num}} 张画布</span>
                    <span class="sm">{{item1.Num}} 张画布</span>
                </div>
                <div class="edit" [style.display]="edit?'block':'none'">
                    <img src="./assets/img/huifu.png" alt="" class="edit-img" (click)="huifu(item1,i)" style="margin-left: 5px">
                </div>
            </div>
        </div>
        <div class="i-box">

            <img src="./assets/img/edit2.png" nz-tooltip nzPlacement="top" nzTitle="设置" (click)="edit=!edit">
        </div>
    </div>
    <div class="pagin">
        <nz-pagination [(nzPageIndex)]="nzPageIndex" (nzPageIndexChange)="pagin()" [nzPageSize]="nzPageSize" [nzTotal]="nzTotal"></nz-pagination>
    </div>

</div>
<div *ngIf="load&&trainlistshow.length==0" style="text-align: center;">
    <img src="./assets/img/null.png" alt="" style="margin: 20px 0;margin-left: 12px;">
    <div style="color: #999;font-size: 16px;">暂时没有被删除的训练</div>
</div>
<div class="loading" *ngIf="!load">
    <app-loading [loadingType]="'write'"></app-loading>
</div>